29 StateAngle(
double _angle,
bool _fixed =
false,
bool _transformable =
true);
30 StateAngle(
const Eigen::VectorXd& _angle,
bool _fixed =
false,
bool _transformable =
true);
50 if (_angle.size() != 1)
throw std::runtime_error(
"The angle state vector must be of size 1!");
57 return Eigen::VectorXd::Zero(1);
Definition: local_parametrization_angle.h:27
Definition: state_angle.h:27
~StateAngle() override
Definition: state_angle.h:60
static Eigen::VectorXd Identity()
Definition: state_angle.h:55
StateAngle(double _angle, bool _fixed=false, bool _transformable=true)
Definition: state_angle.h:41
WOLF_STATE_BLOCK_CREATE(StateAngle)
virtual void transform(const VectorComposite &_transformation) override
Definition: state_angle.h:65
class StateBlock
Definition: state_block.h:73
bool isTransformable() const
Definition: state_block.h:219
void setState(const Eigen::VectorXd &_state, const bool _notify=true)
Sets the state vector.
Definition: state_block.cpp:25
Eigen::VectorXd getState() const
Returns the state vector.
Definition: state_block.h:296
Eigen::VectorXd state_
State vector storing the state values.
Definition: state_block.h:80
Definition: vector_composite.h:27
Definition: capture_base.h:23
T pi2pi(const T &_angle)
Return angle between -pi and pi This implementation uses std::remainder which makes it incompatible f...
Definition: rotations.h:34